import Cookes from 'js-cookie'
const tokenKey = 'Admin-Token'
export default {
  // 获取token
  getToken () {
    return Cookes.get(tokenKey)
  },
  // 设置token
  setToken (token) {
    return Cookes.set(tokenKey, token)
  },
  // 移除token
  removeToken () {
    return Cookes.remove(tokenKey)
  }
}

